<?php
/**
 * The template used for displaying page content in page.php
 *
 * @package WordPress
 * @subpackage Twenty_Twelve
 * @since Twenty Twelve 1.0
 */
$categories_list = get_the_category_list( __( ', ', 'ctw2' ) );
?>

<article  id="post-<?php the_ID(); ?>" <?php post_class(); ?> itemscope="itemscope" itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
   <div class="entry-header">
      <div class="entry-info">
         <span class="entry-date" itemprop="dateModified" datetime="<?php echo get_the_date('c'); ?>">Last Modified on <?php echo get_the_date(); ?></span>
         <span class="entry-author" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"> by <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="Posts by <?php echo get_the_author(); ?>" rel="author"><?php echo get_the_author();?></a></span>
         <span class="entry-categories"> in <?php echo $categories_list; ?></span>
         <span class="comments-link"> with <?php comments_popup_link( __( 'Nhận xét', 'ctw2' ), __( '1 Bình luận', 'ctw2' ), __( '% Bình luận', 'ctw2' ) ); ?></span>
      </div>
      <!-- .entry-info -->
      <h2 class="entry-title" itemprop="headline"><a href="<?php echo the_permalink();?>" title="<?php echo the_title();?>"><?php echo the_title();?></a></h2>
   </div>
   <!-- .entry-header -->
   <div class="entry-summary" itemprop="text">
   		
      <?php the_excerpt(); ?>
      <a href="<?php echo the_permalink(); ?>" class="btn more-link">Chi tiết <span class="meta-nav">→</span></a>
   </div>
   <!-- .entry-summary -->
   <div class="border"></div>
</article>
